package com.qq.input_monthy_unit.service.impl;

import com.qq.input_monthy_unit.entity.InputMonthyUnit;
import com.qq.input_monthy_unit.mapper.InputMonthyUnitMapper;
import com.qq.input_monthy_unit.service.IInputMonthyUnitService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 杨清林
 * @since 2021-01-18
 */
@Service
public class InputMonthyUnitServiceImpl implements  IInputMonthyUnitService {


    @Autowired
    InputMonthyUnitMapper inputMonthyUnitMapper;
    @Override
    public List<String> queryByGroupName() {
        return inputMonthyUnitMapper.queryByGroupName();
    }

    @Override
    public List<String> queryByGroupMonthy() {
        return inputMonthyUnitMapper.queryByGroupMonthy();
    }

    @Override
    public List<InputMonthyUnit> queryAllMoneryByName(String name) {
        return inputMonthyUnitMapper.queryAllMoneryByName(name);
    }
}
